package com.yun.test03generate.common;

import java.util.List;

/**
 * @Author: fxy
 * @Date: 2021/10/20/17:26
 * @Description:
 */
public interface BaseMapper<T>  {
    int deleteByPrimaryKey(String id);

    int insertSelective(T record);

    T selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(T record);

    int updateBatchByPrimaryKeySelective(List<T> list);

    int insertBatch(List<T> list);

    int insertBatchSelective(List<T> list);

    int deleteByIds(List<String> ids);
}
